import { defHttp } from '@/utils/request';
import { getMenuListResult } from './model/menuModel';

enum Api {
	GetMenuList = '/getMenuList',
}

/**
 * @description: Get user menu based on id
 */

export const getMenuList = () => {
	return defHttp.get<getMenuListResult>({ url: Api.GetMenuList });
};
